package com.yixun.qfbao.model.bmap;

import lombok.Data;

/**
 * @author jhsong
 */
@Data
public class BMapGeocodingResult {

    /**
     * status : 0
     * result : {"location":{"lng":121.61263500880875,"lat":31.228920475885417},"precise":1,"confidence":80,"comprehension":100,"level":"门址"}
     */

    private int status;
    private String msg;
    private ResultBean result;

    @Data
    public static class ResultBean {
        /**
         * location : {"lng":121.61263500880875,"lat":31.228920475885417}
         * precise : 1
         * confidence : 80
         * comprehension : 100
         * level : 门址
         */

        private LocationBean location;
        private int precise;
        private int confidence;
        private int comprehension;
        private String level;

        @Data
        public static class LocationBean {
            /**
             * lng : 121.61263500880875
             * lat : 31.228920475885417
             */
            private double lng;
            private double lat;
        }
    }
}
